/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.xgit.iov.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xgit.iov.common.core.entity.SysDataRule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 数据权限MAPPER接口
 * @author william
 * @version 2020/5/28
 */

@Mapper
public interface SysDataRuleMapper extends BaseMapper<SysDataRule> {

	List<SysDataRule> findByUserId(Long userId);

	List<SysDataRule> findByRoleId(Long roleId);
}
